#include "Window.h"

Window::Window(WindowID type,Color bgrColor,int width,int height) : WidgetContainer(0, 0,NULL, NULL) {
	this->type = type;
	this->bgrColor = bgrColor;
	this->width = width;
	this->height = height;
}


WindowID Window::getWindowType(){
	return this->type;
}

Widget* Window::getScenarioContainer(){
	return container;
}

void Window::setScenarioContainer(Widget* container){
	this->container = container;

	WidgetContainer::add(container);
}

Color Window::getBgrColor() const{
    return bgrColor;
}

int Window::getHeight() const
{
    return height;
}

int Window::getWidth() const
{
    return width;
}




